package com.gongj.dto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class B {

//	public B(A a) {
//		System.out.println("a" + a);
//	}
	@Autowired
	private A a;

	public void test(){
		System.out.println("属性A = " + a);
	}
}
